/*
 * Licensed Materials - Property of tenxcloud.com
 * (C) Copyright 2018 TenxCloud. All Rights Reserved.
 * 2018-11-26  @author lizhen
 */

package initialize

import (
	"flag"
	"modules.tenxcloud.com/common/composite"
	"modules.tenxcloud.com/common/utility"
)

func initGlogFlags() {
	if flag.Parsed() {
		return
	}
	utility.Must(flag.Set("logtostderr", "true"))
	utility.Must(flag.Set("v", composite.Configuration.LogLevel()))
	flag.Parse()
}
